//
//  AppTools.h
//  LANGirl
//
//  Created by 杨泓晔 on 16/3/4.
//  Copyright © 2016年 LanJue. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^getAFNetBlock) (id result);
typedef void(^Error) (NSError *error);

@interface AppTools : NSObject

+ (void)getAFNet:(NSString *)url block:(getAFNetBlock)block errorBlock:(Error)errorBlock;


@end
